import request from '@/utils/request'

// 查询指标版本列表
export function listWordOnlineKeyWordVersion(query) {
  return request({
    url: '/word/wordOnlineKeyWordVersion/list',
    method: 'get',
    params: query
  })
}

// 查询指标版本详细
export function getWordOnlineKeyWordVersion(id) {
  return request({
    url: '/word/wordOnlineKeyWordVersion/' + id,
    method: 'get'
  })
}

// 保存指标版本
export function saveWordOnlineKeyWordVersion(data) {
  return request({
    url: '/word/wordOnlineKeyWordVersion/save',
    method: 'post',
    data: data
  })
}

// 删除指标版本
export function delWordOnlineKeyWordVersion(id) {
  return request({
    url: '/word/wordOnlineKeyWordVersion/' + id,
    method: 'delete'
  })
}

// 导出指标版本
export function exportWordOnlineKeyWordVersion(query) {
  return request({
    url: '/word/wordOnlineKeyWordVersion/export',
    method: 'get',
    params: query
  })
}
